Fagin's theorem
#logic #complexity_theory
Theorem
A class of finite structures is definable by a sentence of existential second-order logic if and only if it is decidable by a non-deterministic machine running in polynomial time, i.e. ESO = NP
in other words,
a problem lies in NP iff it can be described by a formula with a pattern in (monadic existential second-order formula) for some arity .
Corollary
A class of finite structures is definable by a sentence of existential second-order logic if and only if it is decidable by a nondeterministic machine running in polynomial time, i.e. USO = co-NP
See also
References
- https://en.wikipedia.org/wiki/Fagin's_theorem
- N. Immerman, “Second-Order Logic and Fagin’s Theorem,” in Descriptive Complexity, New York, NY: Springer New York, 1999, pp. 113–124. doi: 10.1007/978-1-4612-0539-5_8.
- https://www.karlin.mff.cuni.cz/~krajicek/anuj1.pdf
- https://cs.stackexchange.com/questions/26500/could-someone-explain-fagins-theorem-on-the-equivalence-between-np-and-existent
- Bannach, M., Chudigiewitsch, F., & Tantau, T. (2023). Existential second-order logic over graphs: Parameterized complexity. arXiv preprint arXiv:2310.01134. https://arxiv.org/abs/2310.01134
- https://www.cl.cam.ac.uk/teaching/0910/L15/handout5.pdf
- https://www.cs.cornell.edu/courses/cs6810/2009sp/scribe/lecture5.pdf